<extend name="Base/common" />
<block name="header">
<header class="jumbotron subhead" id="overview">
  <div class="container">
    <h2>用户登录</h2>
    <p><span><span class="pull-left"><span>还没有账号? <a href="{:U('User/register')}">立即注册</a></span> </span></p>
  </div>
</header>
</block>

<block name="body">
    <div class="login_con">
		<form class="login_con1" action="/{:USER_TYPE}.php?s=/User/login.html" method="post">
            <h3 class="welcome">登录</h3>
            <div id="itemBox" class="item-box">
                <div class="item">
                    <i class="icon-login-user"></i>
                    
                    <if condition="$type eq 'Agent'">
                        <input type="text" autocomplete="off" placeholder="请输入经销商代码" name="username">
                    <else /> 
                        <input type="text" autocomplete="off" placeholder="请输入账号" name="username">
                    </if>
                    
                </div>
                <div class="item b0">
                    <i class="icon-login-pwd"></i>
                    <input type="password" autocomplete="off" placeholder="密码默认111111，首次登陆需修改" name="password">
                </div>
                <div class="login_btn_panel">
                    <button type="submit" class="login-btn">登录</button>
                    <button id="reset" type="button" class="login-btn1">重置</button>
                </div>
                <div class="login_sc"><a href="#"> 系统操作手册下载</a></div>
            </div>
        </form>
    </div>

</block>

<block name="side"> </block>
<block name="footer">
    <div class="login_bottom">
        <div class="login_bottom_r">技术支持电话：0431-81854187（刘老师）<br>
            18946693157 / 13074313335（郭老师）</div>
    </div>
</block>
<block name="script">
	<script type="text/javascript">
        $(document).ready(function(){
            $("#reset").click(function(){
                $("input[name=username]").val("");
                $("input[name=password]").val("");
            });



        });
	</script>
</block>
